package it.controllocredito.frontend.fragments.params;

import it.controllocredito.R;

import com.actionbarsherlock.app.SherlockFragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;

public class InternetParamsTabFragment extends SherlockFragment
{
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup group,
			Bundle saved)
	{
		return inflater.inflate(R.layout.internet_params_tab_fragment, group, false);
	}
	
	@Override
	public void onActivityCreated(Bundle savedInstanceState)
	{
		super.onActivityCreated(savedInstanceState);
		
		final Button button = (Button) getActivity().findViewById(R.id.btn_internet_params);
		button.setOnClickListener(new View.OnClickListener()
		{
			@Override
			public void onClick(View v)
			{
				Toast.makeText(getActivity(),
						"You clicked button on Prova Fragment",
						Toast.LENGTH_LONG).show();
			}
		});
	}
}